package com.ruoyi.edit.mapper;


import com.ruoyi.edit.domain.vo.EditVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface EditMapper {
    List<EditVo> selectEditVoList(@Param("data") EditVo editEntity);
    @Update("UPDATE `sys_user` " +
            "SET " +
            "`status` = #{status} " +
            "WHERE" +
            " `user_id` = #{editId}")
    int updateUserStatus(@Param("editId") String editId, @Param("status") String status);

    EditVo selectEditById(Long id);

    int updateEditVo(@Param("data") EditVo vo);

}
